package pojo;


import java.util.Date;

/**
 * 商品表
 */
public class Goods {
    private long id;               //商品id
    private String goodsName;      //商品名称
    private long goodsSmalId;      //商品对应的小分类
    private double goodsMoney;     //商品的价格
    private long goodsNumber;      //商品的数量
    private String goodsImage;     //商品的图像
    private double goodsCarriage;   //商品的运费
    private long goodsType;         //商品的类型 新品或二手
    private long goodsSeId;
    private long goodsDiscId;        //商品的折扣
    private String smallName;
    private String sellerName;
    private double discount;

    public String getSmallName() {
        return smallName;
    }

    public void setSmallName(String smallName) {
        this.smallName = smallName;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", goodsName='" + goodsName + '\'' +
                ", goodsSmalId=" + goodsSmalId +
                ", goodsMoney=" + goodsMoney +
                ", goodsNumber=" + goodsNumber +
                ", goodsImage='" + goodsImage + '\'' +
                ", goodsCarriage=" + goodsCarriage +
                ", goodsType=" + goodsType +
                ", goodsSeId=" + goodsSeId +
                ", goodsDiscId=" + goodsDiscId +
                ", smallName='" + smallName + '\'' +
                ", sellerName='" + sellerName + '\'' +
                ", discount=" + discount +
                '}';
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public long getGoodsSmalId() {
        return goodsSmalId;
    }

    public void setGoodsSmalId(long goodsSmalId) {
        this.goodsSmalId = goodsSmalId;
    }

    public double getGoodsMoney() {
        return goodsMoney;
    }

    public void setGoodsMoney(double goodsMoney) {
        this.goodsMoney = goodsMoney;
    }

    public long getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(long goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public double getGoodsCarriage() {
        return goodsCarriage;
    }

    public void setGoodsCarriage(double goodsCarriage) {
        this.goodsCarriage = goodsCarriage;
    }

    public long getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(long goodsType) {
        this.goodsType = goodsType;
    }

    public long getGoodsSeId() {
        return goodsSeId;
    }

    public void setGoodsSeId(long goodsSeId) {
        this.goodsSeId = goodsSeId;
    }

    public long getGoodsDiscId() {
        return goodsDiscId;
    }

    public void setGoodsDiscId(long goodsDiscId) {
        this.goodsDiscId = goodsDiscId;
    }
}
